//
//  MeBizQutoeEndTipe.m
//  ZITHER
//
//  Created by weixin on 2018/11/22.
//  Copyright © 2018 weixn. All rights reserved.
//

#import "MeBizQutoeEndTipe.h"

@implementation MeBizQutoeEndTipe




- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.lab];
        [self addSubview:self.imag];
        
        
        
        [self.lab mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self).offset(20);
            make.centerY.equalTo(self.mas_centerY).offset(0);
        }];
        
        [self.imag mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.equalTo(self.mas_right).offset(-30);
            make.centerY.equalTo(self.mas_centerY).offset(0);
            make.height.mas_equalTo(15);
            make.width.mas_equalTo(7);
        }];
        
    }
    return self;
}

-(BaseLab *)lab{
    if (!_lab) {
        _lab = [[BaseLab alloc]initializeFrame:CGRectMake(0, 0, kScreenW, kScreenH) text:@"3个已结束的报价" font:18 textColor:[UIColor blackColor] isBold:NO numberOfLines:0];
        _lab.font = [UIFont fontWithName:@"PingFangSC-Semibold" size:18];

    }
    return _lab;
}

-(BaseImageV *)imag{
    if (!_imag) {
        _imag = [[BaseImageV alloc]initializeFrame:CGRectMake(0, 0, kScreenW, kScreenH) contentMode:2];
        _imag.image = [UIImage imageNamed:@"sku_更多货源报价"];
    }
    return _imag;
}

@end
